﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MinhTam.Objects;
using System.Data;

public partial class tuyenduong : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            loadData();
        }

    }
    private void loadData()
    {
        DataTable dt = TUYEN_DUONG.GetTableAll("", TUYEN_DUONG.cl_BEN_DI, TUYEN_DUONG.cl_BEN_DEN);
        
        list.DataSource = dt;
        list.DataBind();

    }
}